package com.xuef.ibatis.session;

import java.sql.Connection;

/**
 * Created by xuefengDong: moveb
 * On 2019/4/26- 18:58
 *
 * Creates an {@link SqlSession} out of a connection or a DataSource
 */
public interface SqlSessionFactory {

    //SqlSession openSession(boolean autoCommit);

    SqlSession openSession(Connection connection);
}
